Skip to main content

Directory License Fact Provider

Dir

A license fact provider that reads license information from a local directory. The files must be named after the SPDX-conform license IDs, e.g., 'Apache-2.0' or 'LicenseRef-custom-license'.

Configuration

Example

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
licenseFactProviders:
Dir:
options:
licenseTextDir: <OPTIONAL_STRING>

Options

licenseTextDir

STRING Required

The directory that contains the license texts.